package experiment1;

public class No7 {
    public static void main(String []args)
    {
        double money=100.417;//银行账户内的钱
        int month=1;
        while (month<6)
        {
            money=(100+money)*(1+0.00417);
            month++;
        }
        System.out.println("After six months,the account is "+money);
    }
}
